import request from '@/utils/request'

export function findAllAcc(params) {
  return request({
    url: '/findAllAcc',
    method: 'get',
    params
  })
}
export function selectAccById(params) {
  return request({
    url: '/selectAccById',
    method: 'get',
    params
  })
}
export function deleteAcc(params) {
  return request({
    url: '/deleteAcc',
    method: 'delete',
    params
  })
}
export function updateAccById(data) {
  return request({
    url: '/updateAccById',
    method: 'post',
    data
  })
}
export function addAcc(data) {
  return request({
    url: '/addAcc',
    method: 'post',
    data
  })
}
